package com.pyk.service;


import com.pyk.entity.User;

public interface UserService {


    User findByUsername(String username);

    void register(String username, String password);

    void update(User user);

    void updateAvatar(String avatarUrl);

    void updatePwd(String newPwd, Integer userId);
}
